package exam.model.entity.base;

import java.util.Set;

import exam.model.entity.TAnswerEntity;
import exam.model.entity.TQuestionExamEntity;
import exam.model.entity.TSubQuestionEntity;
import exam.model.entity.TUserEntity;
/**
 * TQuestionEntityRT
 * <p>Thể hiện quan hệ bảng:
 * {@link TSubQuestionEntity}
 * {@link TUserEntity}
 * {@link TAnswerEntity}
 * </p>
 * 
 * @author Phong
 * @version 09/05/2012
 */
public class TQuestionEntityRT {
	
	// Quan he nhieu-1: T_SUB_QUEST
	protected TSubQuestionEntity subQuestionEntity;
	// Quan he nhieu-1: T_USER
	protected TUserEntity userEntity;
	// Quan he 1-nhieu: T_ANSWER
	protected Set<TAnswerEntity> answers;
	// Quan he 1-nhieu: T_QUEST_EXAM
	protected Set<TQuestionExamEntity> questions;
	
	// Set/Get subQuestionEntity
	public TSubQuestionEntity getSubQuestionEntity() {
		return subQuestionEntity;
	}
	public void setSubQuestionEntity(TSubQuestionEntity subQuestionEntity) {
		this.subQuestionEntity = subQuestionEntity;
	}
	
	// Set/Get userEntity
	public TUserEntity getUserEntity() {
		return userEntity;
	}
	public void setUserEntity(TUserEntity userEntity) {
		this.userEntity = userEntity;
	}
	
	// Set/Get answers
	public Set<TAnswerEntity> getAnswers() {
		return answers;
	}
	public void setAnswers(Set<TAnswerEntity> answers) {
		this.answers = answers;
	}
	
	// Set/Get questions
	public Set<TQuestionExamEntity> getQuestions() {
		return questions;
	}
	public void setQuestions(Set<TQuestionExamEntity> questions) {
		this.questions = questions;
	}

}
